GdkMonitor: Fix link to nonexistent Display method
authorDaniel Boles <dboles@src.gnome.org>
Sat, 13 Jan 2018 20:03:37 +0000 (20:03 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Sat, 13 Jan 2018 20:06:39 +0000 (20:06 +0000)
There is no gdk_display_get_monitors(). Instead, we have to use
gdk_display_get_n_monitors() and gdk_display_get_monitor(int).

gdk/gdkmonitor.c

index 536e891a8370184bdab957392c3806616660cc11..6ae8696bc2645427e2a3a3168d8cbea922b959ff 100644 (file)
@@ -32,8 +32,8 @@
  *
  * GdkMonitor objects represent the individual outputs that are
  * associated with a #GdkDisplay. GdkDisplay has APIs to enumerate
- * monitors with gdk_display_get_monitors() and to find particular
- * monitors with gdk_display_get_primary_monitor() or
+ * monitors with gdk_display_get_n_monitors() and gdk_display_get_monitor(), and
+ * to find particular monitors with gdk_display_get_primary_monitor() or
  * gdk_display_get_monitor_at_window().
  */